.friend-card {
  margin-bottom: 20px;
  opacity: .8;
  transition: .3s all;
  border: none;

  &::after {
    transition: .3s all;
    background-color: rgb(70 139 253 / 70%);
    content: "";
    border-radius: 5px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 0;
    height: 0;
  }

  .user-face {

    .friend-name {
      margin-top: 15px;
      font-size: 20px;
      font-weight: bold;
      text-align: center;
    }

    .avatar {
      transition: .6s all;
      margin: auto;
      width: 70px;
      height: 70px;
      overflow: hidden;
      background: url('../img/no-avatar.png');
      background-position: center;
      background-repeat: no-repeat;
      background-size: 100%;

      img {
        width: 100%;
        height: 100%;
      }
    }
  }

  .friend-text {
    word-break: break-all;
    line-height: 1.8;
    position: relative;
    text-align: center;
    max-height: 100px;
    overflow-y: scroll;

    &::-webkit-scrollbar {
      background-color: transparent !important;
      width: 5px !important;
    }

    &::-webkit-scrollbar-track {
      background-color: transparent !important;
    }
  }

  &:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 15px 3px rgb(70 139 253 / 50%);
    color: white;

    .user-face {

      .avatar {
        transform: scale(1.2);
      }

    }

    &::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      width: 100%;
      height: 100%;
    }
  }
}